<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>FLITr: include/flitr/ortho_texture_manipulator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">FLITr
   &#160;<span id="projectnumber">1.x</span>
   </div>
   <div id="projectbrief">Framework for Live Image Transformation.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('ortho__texture__manipulator_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ortho_texture_manipulator.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ortho__texture__manipulator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* Framework for Live Image Transformation (FLITr) </span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2010 CSIR</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * This file is part of FLITr.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * FLITr is free software: you can redistribute it and/or modify it</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * under the terms of the GNU Lesser General Public License as</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * published by the Free Software Foundation, either version 3 of the</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * FLITr is distributed in the hope that it will be useful, but</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * License along with FLITr. If not, see</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#ifndef ORTHOTEXTUREMANIPULATOR</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ORTHOTEXTUREMANIPULATOR 1</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="flitr__export_8h.html">flitr/flitr_export.h</a>&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;osgGA/CameraManipulator&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;osg/Quat&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span>flitr {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html">   31</a></span>&#160;<span class="keyword">class </span><a class="code" href="flitr__export_8h.html#a954cc8ba3eaae88472e9d8f406ca4a86">FLITR_EXPORT</a> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html">OrthoTextureManipulator</a> : <span class="keyword">public</span> osgGA::CameraManipulator</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html">OrthoTextureManipulator</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> texture_width, <span class="keyword">const</span> <span class="keywordtype">double</span> texture_height);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a007bf8aae2264463318ce829e5f27e52">   36</a></span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a007bf8aae2264463318ce829e5f27e52">className</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">&quot;OrthoTextureManipulator&quot;</span>; }</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> setByMatrix(<span class="keyword">const</span> osg::Matrixd&amp; matrix);</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ac8e48156c80351560d605dfb132ffb86">   42</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ac8e48156c80351560d605dfb132ffb86">setByInverseMatrix</a>(<span class="keyword">const</span> osg::Matrixd&amp; matrix) { setByMatrix(osg::Matrixd::inverse(matrix)); }</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keyword">virtual</span> osg::Matrixd getMatrix() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keyword">virtual</span> osg::Matrixd getInverseMatrix() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#afb0b8b165994a88f6ede02bed60eb6da">   51</a></span>&#160;    <span class="keyword">virtual</span> osgUtil::SceneView::FusionDistanceMode <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#afb0b8b165994a88f6ede02bed60eb6da">getFusionDistanceMode</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> osgUtil::SceneView::USE_FUSION_DISTANCE_VALUE; }</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a9e218daaf0d860bfb8127ee3da0c32ff">   54</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a9e218daaf0d860bfb8127ee3da0c32ff">getFusionDistanceValue</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _distance; }</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> setNode(osg::Node*);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> osg::Node* getNode() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keyword">virtual</span> osg::Node* getNode();</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> home(<span class="keyword">const</span> osgGA::GUIEventAdapter&amp; ea, osgGA::GUIActionAdapter&amp; us);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> home(<span class="keywordtype">double</span>);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> init(<span class="keyword">const</span> osgGA::GUIEventAdapter&amp; ea, osgGA::GUIActionAdapter&amp; us);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> handle(<span class="keyword">const</span> osgGA::GUIEventAdapter&amp; ea, osgGA::GUIActionAdapter&amp; us);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> getUsage(osg::ApplicationUsage&amp; usage) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a51bea47f314b545be0b840518733486e">   84</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a51bea47f314b545be0b840518733486e">setScroolWheelZoomDelta</a>(<span class="keywordtype">double</span> zoomDelta) { _zoomDelta = zoomDelta; }</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a1719d24123598246c02375ad28a7715e">   87</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a1719d24123598246c02375ad28a7715e">getScroolWheelZoomDelta</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _zoomDelta; }</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ad22b7ca180aa4913ccefd185e5ece19d">   90</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ad22b7ca180aa4913ccefd185e5ece19d">setCenter</a>(<span class="keyword">const</span> osg::Vec3d&amp; center) { _center = center - _zoom_offset; }</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a145932bc7be2c1d2eee0500e73ed8ddc">   93</a></span>&#160;    <span class="keyword">const</span> osg::Vec3d&amp; <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a145932bc7be2c1d2eee0500e73ed8ddc">getCenter</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _center; }</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ac99c09b93745aa3fd837fc660bf3a4a3">   96</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ac99c09b93745aa3fd837fc660bf3a4a3">setDistance</a>(<span class="keywordtype">double</span> distance) { _distance = distance; }</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#aed287a307bad35b27263a5c1a83e0dfd">   99</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#aed287a307bad35b27263a5c1a83e0dfd">getDistance</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _distance; }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a82f3371810b5d9458b60f3e0729ed62e">  102</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a82f3371810b5d9458b60f3e0729ed62e">setAllowThrow</a>(<span class="keywordtype">bool</span> allowThrow) { _allowThrow = allowThrow; }</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a8f746fab0a7df6c358b3057f1e056d0a">  105</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a8f746fab0a7df6c358b3057f1e056d0a">getAllowThrow</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _allowThrow; }</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="classflitr_1_1_ortho_texture_manipulator.html">OrthoTextureManipulator</a>();</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordtype">void</span> flushMouseEventStack();</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keywordtype">void</span> addMouseEvent(<span class="keyword">const</span> osgGA::GUIEventAdapter&amp; ea);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordtype">void</span> computePosition(<span class="keyword">const</span> osg::Vec3&amp; eye,<span class="keyword">const</span> osg::Vec3&amp; lv,<span class="keyword">const</span> osg::Vec3&amp; up);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keywordtype">bool</span> calcMovement();</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordtype">bool</span> isMouseMoving();</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordtype">bool</span> initOrthoProjection(osgGA::GUIActionAdapter&amp; us);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordtype">void</span> updateOrthoParams(osgGA::GUIActionAdapter&amp; us);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="comment">// Internal event stack comprising last two mouse events.</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a8109fc853d2ae1b209809d1e873de21a">  129</a></span>&#160;    osg::ref_ptr&lt;const osgGA::GUIEventAdapter&gt; <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a8109fc853d2ae1b209809d1e873de21a">_ga_t1</a>;</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a129dd85e0141cde35785e19a7fab3fe0">  130</a></span>&#160;    osg::ref_ptr&lt;const osgGA::GUIEventAdapter&gt; <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a129dd85e0141cde35785e19a7fab3fe0">_ga_t0</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ada1513c348bc7bf8e6c2d0e1e0834ffc">  132</a></span>&#160;    osg::ref_ptr&lt;osg::Node&gt;       <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ada1513c348bc7bf8e6c2d0e1e0834ffc">_node</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ac2317c7e0e1177866e0767b7a7909d6c">  134</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ac2317c7e0e1177866e0767b7a7909d6c">_allowThrow</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a99554f487c68166d0fe2aec99a80e642">  135</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a99554f487c68166d0fe2aec99a80e642">_thrown</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a818779d5ef6b1830a03e3de3dfde74f4">  141</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a818779d5ef6b1830a03e3de3dfde74f4">_delta_frame_time</a>; </div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a70ab1744d2f40a6f3b90d6df88ca2d52">  146</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a70ab1744d2f40a6f3b90d6df88ca2d52">_last_frame_time</a>;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a27884a8edccce2e84bf4e5c03056b4c4">  148</a></span>&#160;    osg::Vec3d   <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a27884a8edccce2e84bf4e5c03056b4c4">_center</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a11ad0c4bc7bc3b08ba9e37487a4b993e">  149</a></span>&#160;    osg::Quat    <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a11ad0c4bc7bc3b08ba9e37487a4b993e">_rotation</a>;</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a477ffab1b60153ffe23842866df50e0f">  150</a></span>&#160;    <span class="keywordtype">double</span>       <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a477ffab1b60153ffe23842866df50e0f">_distance</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a35884eeae40d65c8ee36127f67aab54d">  151</a></span>&#160;    <span class="keywordtype">float</span>        <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a35884eeae40d65c8ee36127f67aab54d">_zoomDelta</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#acc80116a0e326645607edf5b13fd73b0">  154</a></span>&#160;    osg::Vec3d <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#acc80116a0e326645607edf5b13fd73b0" title="Used so that zoom happens in the middle of the window.">_zoom_offset</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a0f7ea23745a761366bbea085066fa2f3">  157</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a0f7ea23745a761366bbea085066fa2f3" title="The aspect of the texture we are viewing, used to create accurate home pos.">_texture_aspect</a>;</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#af481f99191688237f91281736a842b59">  158</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#af481f99191688237f91281736a842b59">_texture_width</a>;</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a990cd056938ad3a8e2508dca9b6062cf">  159</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a990cd056938ad3a8e2508dca9b6062cf">_texture_height</a>;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a611858cbdb77373d76e870836853e12b">  161</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a611858cbdb77373d76e870836853e12b">_current_aspect</a>;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a90772578aeeee24e0d43421dcb7b6fd5">  163</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a90772578aeeee24e0d43421dcb7b6fd5">_init_ortho_params</a>;</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#aeaa30d386a03b1b30f10a9945e698940">  164</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#aeaa30d386a03b1b30f10a9945e698940">_ortho_from_view_width</a>;</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a64dd4b46e2061a75647b629818a18e6c">  165</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#a64dd4b46e2061a75647b629818a18e6c">_ortho_from_view_height</a>;</div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ae1cfac3d3b9cd9b52b548a57548a5e9a">  166</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#ae1cfac3d3b9cd9b52b548a57548a5e9a">_ortho_from_view_left</a>;</div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#aedf43eea29f887ba618d06294495f28a">  167</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#aedf43eea29f887ba618d06294495f28a">_ortho_from_view_right</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#af68845412abed17ab71b9b8f5db43ac8">  168</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#af68845412abed17ab71b9b8f5db43ac8">_ortho_from_view_top</a>;</div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#abb6960e035e8661f5d27aa0889a8eb04">  169</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classflitr_1_1_ortho_texture_manipulator.html#abb6960e035e8661f5d27aa0889a8eb04">_ortho_from_view_bottom</a>;</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;};</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;}</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor">#endif //ORTHOTEXTUREMANIPULATOR</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5439e23e71bfff00a4bb4e3e77d969de.html">include</a></li><li class="navelem"><a class="el" href="dir_8ba83f5bebe387d07fd59c14a8974e49.html">flitr</a></li><li class="navelem"><a class="el" href="ortho__texture__manipulator_8h.html">ortho_texture_manipulator.h</a></li>
    <li class="footer">Generated on Thu Dec 6 2012 09:15:44 for FLITr by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.2 </li>
  </ul>
</div>
</body>
</html>
